Generic x12

Game hierarchy

• Game
    • Generic Chess
        • Generic x12

Piece Types

Internal NameNameNotationAdded ByNotes
KingKingKGeneric Chess 
PawnPawnPGeneric Chess 

Game Variables

From Game:

Name = string
Invented = string
InventedBy = string
NumberOfSquareColors = integer
FENFormat = string
FENStart = string
Array = string
DeduplicateMoves = boolean
StaticExchangeEvaluation = boolean

From Generic Chess:

StalemateResult = choice of { Draw, Win, Loss }   (default: Draw)
PromotionRule = choice of { None, Standard, Replacement, Custom }   (default: Standard)
PromotionTypes = string
BareKing = boolean   (default: false)
EnPassant = boolean   (default: true)
PromotingType = PieceType   (default: Pawn)
CastlingType = PieceType   (default: King)

From Generic x12:

PawnMultipleMove = choice of:

  • None: Pawns can never move more than a single space
  • @2(2): Pawns can move two spaces when on the second rank
  • @2(2,3): Pawns can move two or three spaces when on the second rank
  • @2(2,3,4): Pawns can move up to four spaces when on the second rank
  • @3(2): Pawns can move two spaces when on the third rank
  • @3(2,3): Pawns can move two or three spaces when on the third rank
  • @4(2): Pawns can move two spaces when on the fourth rank
  • Fast Pawn: Pawns can move two spaces from any location
  • Custom: Indicates a custom rule implemented by derived class

 
 

COPYRIGHT (C) 2021 BY GREG STRONG